package com.cdtu.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdtu.entity.SysEmployee;
import com.cdtu.service.SysEmployeeService;
import com.cdtu.mapper.SysEmployeeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Map;
import java.util.function.Function;

/**
* @author Sakura
* @description 针对表【sys_employee】的数据库操作Service实现
* @createDate 2023-08-08 16:07:43
*/
@Service
public class SysEmployeeServiceImpl extends ServiceImpl<SysEmployeeMapper,SysEmployee>
        implements SysEmployeeService{

    @Autowired
    private SysEmployeeMapper sysEmployeeMapper;

    @Override
    public SysEmployee getEmployeeByUsername(String username) {
        return sysEmployeeMapper.getEmployeeByUsername(username);
    }
}




